package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 银藻商城商品分类对象 pc_product_cat
 * 
 * @author ruoyi
 * @date 2022-07-27
 */
@ApiModel(value = "PcProductCat",description = "银藻商城商品分类对象 pc_product_cat")
public class PcProductCat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 银藻商城商品分类表主键 */
    private Long id;

    /** 分类名称 */
    @ApiModelProperty(value="分类名称",name="PcProductCat$catName")
    @Excel(name = "分类名称")
    private String catName;

    /** 排序 */
    @ApiModelProperty(value="排序",name="PcProductCat$showSort")
    @Excel(name = "排序")
    private Long showSort;

    /** 1删除，0正常 */
    @ApiModelProperty(value="1删除，0正常",name="PcProductCat$isDelete")
    @Excel(name = "1删除，0正常")
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCatName(String catName) 
    {
        this.catName = catName;
    }

    public String getCatName() 
    {
        return catName;
    }
    public void setShowSort(Long showSort) 
    {
        this.showSort = showSort;
    }

    public Long getShowSort() 
    {
        return showSort;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("catName", getCatName())
            .append("showSort", getShowSort())
            .append("createTime", getCreateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
